/**
 * 是否是mac系统
 *
*/

import {
    toast
} from 'nc-lightapp-front';


export default (msg) => {

    let UserAgent = navigator.userAgent.toLowerCase();
    let isMac = /mac os/.test(UserAgent);
    if(isMac){
        toast({
            color: 'danger',
            content: msg
        });
    }
    return isMac
}
